<div class="container-fluid">
    <div class="widget-box">
		<div class="widget-title">
			<span class="icon">
			<i class="icon-th"></i>
			</span>
			<h5>&nbsp;数据报表&nbsp;<?php   echo date('Y-m-d h:i:s',time());?></h5>
		</div>   
		<div class="widget-content nopadding">
			<table width="100%" border=0  align="left" class='table table-bordered table-striped'>
				<tr>
					<td style="text-align:left;padding:10px;" width="10%">CNY余额：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo ($page_data['balance']);?></td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;" width="10%">CNY应得账户余额：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo ($page_data['deserved_balance']);?></td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">总充值：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo ($page_data['deposit']);?></td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">总提现：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo ($page_data['withdraw']);?></td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">CFD总手续费：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo ($page_data['fee']);?></td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">CFD总提成：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo ($page_data['invite']);?> </td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">CFD人民币持仓：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo ($page_data['chi_cny_bzj']);?> </td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">人民币购买体验券：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo ($page_data['ticketCny']);?> </td>
				</tr>
				
				<tr>
					<td style="text-align:left;padding:10px;">CFD体验券持仓：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo ($page_data['chi_ticket_bzj']);?> </td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">CFD总持仓盈亏：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo bcadd($page_data['chi_ticket_yk'],$page_data['chi_cny_yk'],2);?></td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">CFD体验券持仓盈亏：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo ($page_data['chi_ticket_yk']);?></td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">CFD已实现盈亏：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo $page_data['history_yk'];?></td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">CFD体验券已实现盈亏：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo $page_data['history_ticket_yk']?></td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">CFD总盈亏：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo bcadd($page_data['history_yk'],bcadd($page_data['chi_ticket_yk'],$page_data['chi_cny_yk'],2),2);?></td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">CFD账户总资产：</td>
					<td style="text-align:left;padding:10px;">￥<?php echo bcadd($page_data['balance'],$page_data['chi_cny_bzj'],2);?>  (CNY余额+CFD持仓保证金)</td>
				</tr>

				<tr>
					<td style="text-align:left;padding:10px;">用户总数：</td>
					<td style="text-align:left;padding:10px;"><?php echo $page_data['userNum'];?></td>
				</tr>

				<tr>
					<td style="text-align:left;padding:10px;">在线人数：</td>
					<td style="text-align:left;padding:10px;"><?php echo $page_data['onlineNum'];?></td>
				</tr>

				<tr>
					<td style="text-align:left;padding:10px;">上线人数：</td>
					<td style="text-align:left;padding:10px;"><?php echo $page_data['inviteNum'];?></td>
				</tr>

				<tr>
					<td style="text-align:left;padding:10px;">交易人数：</td>
					<td style="text-align:left;padding:10px;"><?php echo $page_data['tradeNum'];?></td>
				</tr>

				<tr>
					<td style="text-align:left;padding:10px;">交易人数(cny)：</td>
					<td style="text-align:left;padding:10px;"><?php echo $page_data['cnyTradeNum'];?></td>
				</tr>

				<tr>
					<td style="text-align:left;padding:10px;">开仓手数：</td>
					<td style="text-align:left;padding:10px;"><?php echo bcadd($page_data['cnyKaiNum'],$page_data['ticketKaiNum']);?></td>
				</tr>
				<tr>
					<td style="text-align:left;padding:10px;">开仓手数（体验券）：</td>
					<td style="text-align:left;padding:10px;"><?php echo $page_data['ticketKaiNum'];?></td>
				</tr>
			</table>
		</div>
	</div>
</div>